﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;

namespace POVRay {
    [PRBlock("sphere")]
    public class Sphere : Object {
        [PRParam(HasComma=true)]
        public Vector3 Location { get; set; }

        [PRParam()]
        public float Radius { get; set; }

        public Sphere(Vector3 location, float radius) {
            Location = location;
            Radius = radius;
        }

        public override string ToString(int level) {
            return this.POVRayString(level);

            /*
            return "sphere { " + 
                Scene.Indentation(level + 1) + Location + " " + 
                Scene.Indentation(level + 1) + Radius.POVRayString() + " " + 
                GeneralParameters(level + 1) + " " + 
                Scene.Indentation(level) + "}";*/
        }
    }
}
